package site.ruyi.devclient.client.kafka;

import javafx.scene.Scene;
import javafx.stage.Stage;
import site.ruyi.devclient.core.ClientApp;
import site.ruyi.devclient.core.FxmlView;
import site.ruyi.devclient.core.SceneFactory;

/**
 * Dubbo客户端主界面实现类
 * @author self
 *
 */
@FxmlView("KafkaClientView.fxml")
public class KafkaClientApp extends ClientApp {

	//客户端应用名称
	private static final String APP_NAME = "Kafka";

	@Override
	public String getAppName() {
		return APP_NAME;
	}

	@Override
	public void start(Stage primaryStage) throws Exception {
		Scene scene=SceneFactory.create(1024, 600);
		primaryStage.setScene(scene);
		primaryStage.setTitle("Kafka客户端");
		primaryStage.show();
	}
}
